//
//  ViewController.m
//  QueueExample
//
//  Created by blank on 2017/11/28.
//  Copyright © 2017年 CYN. All rights reserved.
//

#import "ViewController.h"
#import "CYNQueueArray.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.

    CYNQueueArray *queueArray = [[CYNQueueArray alloc] init];
    [queueArray enqueue:@"1"];
    [queueArray enqueue:@"2"];
    [queueArray enqueue:@"3"];

    NSLog(@"dequeue0 == %@", queueArray.dequeue);
    NSLog(@"dequeue1 == %@", queueArray.dequeue);
    NSLog(@"dequeue2 == %@", queueArray.dequeue);

}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
